package com.itheima.service;

import com.itheima.pojo.Brand;
import com.itheima.pojo.PageBean;

import java.util.List;

public interface BrandService {

    List<Brand> selectAll();

    void add(Brand brand);

    void deleteById(Integer id);

    void updateById(Brand brand);

    void deleteByIds(int[] ids);

    PageBean<Brand> rows(int currentPage, int pageSize);

    PageBean<Brand> selectPageAndCondition(int currentPage, int pageSize,Brand brand);

}
